#include <iostream>
#include <json/json.h>



int main(){
 

    Json::Value root;
    root["name"] ="liang zi";
    root["property"]="da wei da";
    root["flag"] ="wei zhen zu";
  
    Json::StreamWriterBuilder writer;

    std::string jsonstr= Json::writeString(writer,root);

    std::cout<<jsonstr<<std::endl;

    return 0;
}